package com.chinaztt.fda.http;

import android.os.Environment;

public interface GV {
    public static final String DB_NAME = "scdb.db";
    public static final int CONNECT_TIMEOUT = 30;
    public static final boolean TEST = false;
    public static final String TRUE = "TRUE";
    public static final String FALSE = "FALSE";

    public static final String LOGINNAME = "LOGINNAME";


    public static final int QRCODE_REQUEST = 9999;

    public static final String DEVICE_TYPE = "DEVICE_TYPE";
    public static final String DEVICE_TYPE_EMULATOR = "DEVICE_TYPE_EMULATOR";
    public static final String DEVICE_TYPE_REAL_DEVICE = "DEVICE_TYPE_REAL_DEVICE";

    public static final String PARAMETE = "PARAMETE";
    public static final String BARCODE = "BARCODE";

    public static final String NET_TYPE = "NET_TYPE";
    public static final String NET_TYPE_WIFI = "WIFI";
    public static final String NET_TYPE_GPRS = "GPRS";

    public static final String RESULT_CODE_SUCCESS = "0";
    public static final String IN = "1"; //收入
    public static final String OUT = "2";//支出

    public static final String PAY_TYPE_CASH = "1";
    public static final String PAY_TYPE_ECARD = "2";
    public static final String PAY_TYPE_BANK_CARD = "3";

    public static final String PAY_TYPE_TEXT_CASH = "现金";
    public static final String PAY_TYPE_TEXT_BANK_CARD = "刷银行卡";
    public static final String PAY_TYPE_TEXT_REF_BANK_CARD = "闪付";

    /**
     * 库存订单.
     */
    public static final String GOOD_LIST_TYPE_STOCK = "1";

    /**
     * 销售订单.
     */
    public static final String GOOD_LIST_TYPE_SALE = "2";

    /**
     * 图片保存路径.
     */
    public final static String PHOTOPATH = Environment.getExternalStorageDirectory().getAbsolutePath() + "/DCIM/smartcity/";

    /**
     * 商品图标图片名称前缀.
     */
    public final static String GOODSLOGO_PRE = "goodslogo_";

    /**
     * 实物识别图片名称前缀.
     */
    public final static String SEARCHGOODS_PRE = "searchgoods_";

    /**
     * 程序奔溃日志保存路径.
     */
    public static final String CRASH_DIR = "crash";

    /**
     * 管理员密码.
     */
    public final static String MANAGER_PASSWORD = "12345678";


    /**
     * 数据请求报文中，每页为25个数据.
     */
    public final static int EACH_PAGE_OF_NUM_25 = 25;

    /**
     * 数据请求报文中，每页为100个数据.
     */
    public final static int EACH_PAGE_OF_NUM_100 = 100;
}
